package com.pw.study.actors

import akka.actor.Actor

/**
 * @Desc: TODO
 * @author: future
 * @since: 2022/5/22-9:53
 */
class BActor extends Actor{
  override def receive: Receive = {
    case "我打"=>{
      val time: Long = System.currentTimeMillis()
      println(s"${time}时间：乔峰厉害，接我一首黑虎偷心。。。。")
      Thread.sleep(1000)
      sender()!"我打"
    }
  }
}
